how many files in dir php

32

how many files in dir php -

$fi = new FilesystemIterator(__DIR__, FilesystemIterator::SKIP_DOTS);
printf("There were %d Files", iterator_count($fi));

Comments

Submit
0 Comments